package com.yugao.fintech.draper.admin.convert;

import com.yugao.fintech.draper.admin.entity.SocialUser;
import com.yugao.fintech.draper.auth.dto.SocialUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SocialUserConvert {

	SocialUserConvert INSTANCE = Mappers.getMapper(SocialUserConvert.class);

	List<SocialUserDTO> convertList(List<SocialUser> socialUser);

	SocialUserDTO convert(SocialUser socialUser);

	SocialUser convert(SocialUserDTO socialUserDTO);

}